﻿using System;
using System.Collections.Generic;

namespace autoMessage.Entities;

/// <summary>
/// 任务详细信息表
/// </summary>
public partial class QrtzJobDetail
{
    /// <summary>
    /// 调度名称
    /// </summary>
    public string SchedName { get; set; } = null!;

    /// <summary>
    /// 任务名称
    /// </summary>
    public string JobName { get; set; } = null!;

    /// <summary>
    /// 任务组名
    /// </summary>
    public string JobGroup { get; set; } = null!;

    /// <summary>
    /// 相关介绍
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 执行任务类名称
    /// </summary>
    public string JobClassName { get; set; } = null!;

    /// <summary>
    /// 是否持久化
    /// </summary>
    public string IsDurable { get; set; } = null!;

    /// <summary>
    /// 是否并发
    /// </summary>
    public string IsNonconcurrent { get; set; } = null!;

    /// <summary>
    /// 是否更新数据
    /// </summary>
    public string IsUpdateData { get; set; } = null!;

    /// <summary>
    /// 是否接受恢复执行
    /// </summary>
    public string RequestsRecovery { get; set; } = null!;

    /// <summary>
    /// 存放持久化job对象
    /// </summary>
    public byte[]? JobData { get; set; }

    public virtual ICollection<QrtzTrigger> QrtzTriggers { get; set; } = new List<QrtzTrigger>();
}
